package com.czh.springboot04.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
//公益表
public class Free {
    private int freeId;
    private String freeName;
    private String freeImg;
    private String freeSimplyIntroduce;//简介
    private String freeText;//详情
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date freeCreateTime;
}
